﻿using LuShanTea.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LuShanTea.IService
{
    public interface IPackService : IServiceSupport
    {
        long AddNew(string name, float price);

        void MarkDeleted(long packId);

        void UpdatePack(long packId, string packName, float price);

        PackDTO[] GetAll();

        PackDTO[] GetPackByGoodId(long goodId);

        PackDTO GetByName(string name);

        PackDTO GetById(long packId);
    }
}
